Skip to content

Conversation

kmvanbrunt
Copy link
Member

Just some tweaks to the Rich stuff.

Main Changes

  1. Help tables are indented 1 space
  2. pexcept() prints with a Rich console that word wraps exceptions for easier readability.

This change moves the core logic for rendering columns from the
columnize() method to a new helper method, render_columns().
Added Cmd2Style.TABLE_BORDER style.
and tested features which are already covered in other tests.
Copy link

codecov bot commented Aug 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.75%. Comparing base (18831d1) to head (4a83846).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1486      +/-   ##
==========================================
- Coverage   98.77%   98.75%   -0.02%     
==========================================
  Files          23       23              
  Lines        4894     4901       +7     
==========================================
+ Hits         4834     4840       +6     
- Misses         60       61       +1     
Flag Coverage Δ
unittests 98.75% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tleonhardt tleonhardt merged commit 5d49d55 into main Aug 23, 2025
29 of 30 checks passed
@tleonhardt tleonhardt deleted the rich_tweaks branch August 23, 2025 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants